package Operation;

import Book.Book;
import Book.BookList;

public class ShowOperation implements IOPeration{
    public void work(BookList bookList) {
        System.out.println("显示图书....");
        int currentsize = bookList.getUsedsize();
        for(int i = 0; i < currentsize; i++) {
            Book book = bookList.getBook(i);
            System.out.println(book);
        }
        System.out.println();
    }
}
